home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / WinXP - Poczatek konca / PE Builder 3.1.10a / pebuilder3110a.exe / {app} / plugin / adawarese / adawarese.cmd < prev    next >
OS/2 REXX Batch file  |  2004-09-14  |  840b  |  26 lines

  1. @echo off
  2. rem -------------------------------------------------------------------------
  3. rem adawarese.cmd - Script to start AdawareSE from BartPE
  4. rem Created by Bart Lagerweij.
  5. rem -------------------------------------------------------------------------
  6. echo ADAWARE.CMD: Starting...
  7. setlocal
  8. if "%temp%" == "" goto _err
  9. if exist "%temp%\adawarese\ad-aware.exe" goto _run
  10. mkdir "%temp%\adawarese"
  11. echo ADAWARE.CMD: Copying "%~dp0ad-aware.exe" to "%temp%\adawarese\"
  12. copy "%~dp0ad-aware.exe" "%temp%\adawarese\ad-aware.exe"
  13. echo ADAWARE.CMD: Copying "%~dp0defs.ref" to "%temp%\adawarese\"
  14. copy "%~dp0defs.ref" "%temp%\adawarese\defs.ref"
  15. :_run
  16. start %temp%\adawarese\ad-aware.exe
  17. goto _end
  18. :_err
  19. echo.
  20. echo ADAWARE.CMD: No temp variable set...
  21. echo ADAWARE.CMD: Try adding a ramdrive...
  22. echo.
  23. pause.
  24. :_end
  25. endlocal
  26.